package com.iwomy.envpro.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 运行参数
 *
 * @author pig
 * @date 2023-08-25 10:46:06
 */
@Data
@TableName("opera_para")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "运行参数")
public class OperaParaEntity extends Model<OperaParaEntity> {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	* 配置项
	*/
    @Schema(description="配置项")
    private String configItem;

	/**
	* 名称
	*/
    @Schema(description="名称")
    private String configName;

	/**
	* 值
	*/
    @Schema(description="值")
    private String configVal;

	/**
	* 1文本，2整数，3浮点数
	*/
    @Schema(description="1文本，2整数，3浮点数")
    private Integer configType;

	/**
	* 备注
	*/
    @Schema(description="备注")
    private String remark;

	/**
	* 排序号
	*/
    @Schema(description="排序号")
    private Integer sort;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;
 
	/**
	* delFlag
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="delFlag")
    private String delFlag;

	/**
	* 所属租户
	*/
    @Schema(description="所属租户")
    private Long tenantId;
}